<?php
namespace Common\Model;

use Think\Model;

class CommonModel extends  Model {
	public $tablePrefix = "tp_";



	//返回数据
	public function returnData($msg="",$code = 500,$data = []){
		return ['msg' => $msg, 'code'=>$code,'data'=>$data];
	}

}

?>
